package ystp.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import ystp.model.Chuangxinchanpinjieguo;
import ystp.model.ChuangxinchanpinjieguoExample;

public interface ChuangxinchanpinjieguoMapper {
    int countByExample(ChuangxinchanpinjieguoExample example);

    int deleteByExample(ChuangxinchanpinjieguoExample example);

    int deleteByPrimaryKey(String id);

    int insert(Chuangxinchanpinjieguo record);

    int insertSelective(Chuangxinchanpinjieguo record);

    List<Chuangxinchanpinjieguo> selectByExample(ChuangxinchanpinjieguoExample example);

    Chuangxinchanpinjieguo selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") Chuangxinchanpinjieguo record, @Param("example") ChuangxinchanpinjieguoExample example);

    int updateByExample(@Param("record") Chuangxinchanpinjieguo record, @Param("example") ChuangxinchanpinjieguoExample example);

    int updateByPrimaryKeySelective(Chuangxinchanpinjieguo record);

    int updateByPrimaryKey(Chuangxinchanpinjieguo record);

    Object getChuangxinchanpinResultCount(@Param("xiangmuid") String mmxiangmuId,@Param("userid") String mmuserId,@Param("result") String mmresult);

    List<Map<String,Object>>getHuizongbiao(@Param("xiangmuid") String mmxiangmuId);
}